package com.sc.auction.order.feign;

import com.sc.auction.common.util.R;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(name = "sc-auction")
public interface AuctionFeignService {
    @GetMapping(value = "/auction/auction/getAuction")
    public R getAuction(@ApiParam(value = "拍品id")@RequestParam("auctionid") Integer auctionid);

}
